
$(document).ready(function(){
						   
	$(window).load(function(){
    	$('.doc-loader').fadeOut('slow');
	});
		   
	$('.body_wrapper').bgStretcher({
		images: ['images/image-2.png', 'images/image-3.png'],
		imageWidth: 1680, 
		imageHeight: 1260, 
		slideDirection: 'N',
		slideShowSpeed: 1000,
		transitionEffect: 'fade',
		sequenceMode: 'normal',
		buttonPrev: '#prev',
		buttonNext: '#next',
		pagination: '#nav',
		anchoring: 'left center',
		anchoringImg: 'left center'
	});
	displayHints();
	initialize();
	height_bottom();
});

var displayHints = function()
{
    $('#subscriberEmail').attachHint('Enter your email to sign up');
};

$(window).resize(function() {
	height_bottom();
});
